package com.customerserviceimpl.customerserviceimpl.com.cn.service.impl;

import com.alibaba.dubbo.config.annotation.Reference;
import com.cn.zy.DubboService;
import org.springframework.stereotype.Service;

/**
 * @author zhangyi
 * @date 2018/12/21 14:28
 */
@Service
public class CustomserServiceImpl implements CustomerService {

    @Reference(version = "1.0.0")
    private DubboService dubboService;

    @Override
    public String customer(String s) {
        String c = dubboService.service("消费端调用:::后传"+s);
        return c;
    }
}
